﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="WebGControl.aspx.cs" Inherits="InnerPages_WebGControl" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body style="width: 100%; height: 500px">
    <form id="form1" runat="server">
    <div>
        <InfoLight:WebDataSource ID="wdsGroup" runat="server" DataMember="groupInfo" WebDataSetID="WGroup" AutoApply="True">
        </InfoLight:WebDataSource>
        &nbsp;</div>
        <table style="width: 1%;" id="TABLE1">
            <tr height="50%">
                <td align="left" colspan="1" rowspan="1" style="width: 1288px">
                    <InfoLight:WebNavigator ID="wnGroup" runat="server" BindingObject="wgvGroup" OnCommand="wnGroup_Command">
                        <NavStates>
                            <InfoLight:WebNavigatorStateItem EnableControls="First;Previous;Next;Last;Add;Update;Delete;Query;Print;Export"
                                StateText="Initial" />
                            <InfoLight:WebNavigatorStateItem EnableControls="First;Previous;Next;Last;Add;Update;Delete;Query;Print;Export"
                                StateText="Browsed" />
                            <InfoLight:WebNavigatorStateItem EnableControls="OK;Cancel;Apply;Abort" StateText="Inserting" />
                            <InfoLight:WebNavigatorStateItem EnableControls="OK;Cancel;Apply;Abort" StateText="Editing" />
                            <InfoLight:WebNavigatorStateItem EnableControls="" StateText="Applying" />
                            <InfoLight:WebNavigatorStateItem EnableControls="First;Previous;Next;Last;Add;Update;Delete;Apply;Abort;Export"
                                StateText="Changing" />
                            <InfoLight:WebNavigatorStateItem EnableControls="" StateText="Querying" />
                            <InfoLight:WebNavigatorStateItem EnableControls="" StateText="Printing" />
                        </NavStates>
                        <NavControls>
                            <InfoLight:ControlItem ControlName="First" ControlText="first" ControlType="Image"
                                ControlVisible="True" DisenableImageUrl="../image/uipics/first3.gif" ImageUrl="../image/uipics/first.gif"
                                MouseOverImageUrl="../image/uipics/first2.gif" Size="25" />
                            <InfoLight:ControlItem ControlName="Previous" ControlText="previous" ControlType="Image"
                                ControlVisible="True" DisenableImageUrl="../image/uipics/previous3.gif" ImageUrl="../image/uipics/previous.gif"
                                MouseOverImageUrl="../image/uipics/previous2.gif" Size="25" />
                            <InfoLight:ControlItem ControlName="Next" ControlText="next" ControlType="Image"
                                ControlVisible="True" DisenableImageUrl="../image/uipics/next3.gif" ImageUrl="../image/uipics/next.gif"
                                MouseOverImageUrl="../image/uipics/next2.gif" Size="25" />
                            <InfoLight:ControlItem ControlName="Last" ControlText="last" ControlType="Image"
                                ControlVisible="True" DisenableImageUrl="../image/uipics/last3.gif" ImageUrl="../image/uipics/last.gif"
                                MouseOverImageUrl="../image/uipics/last2.gif" Size="25" />
                            <InfoLight:ControlItem ControlName="Add" ControlText="add" ControlType="Image" ControlVisible="True"
                                DisenableImageUrl="../image/uipics/add3.gif" ImageUrl="../image/uipics/add.gif"
                                MouseOverImageUrl="../image/uipics/add2.gif" Size="25" />
                            <InfoLight:ControlItem ControlName="Query" ControlText="query" ControlType="Image"
                                ControlVisible="True" DisenableImageUrl="../image/uipics/query3.gif" ImageUrl="../image/uipics/query.gif"
                                MouseOverImageUrl="../image/uipics/query2.gif" Size="25" />
                            <InfoLight:ControlItem ControlName="Export" ControlText="export" ControlType="Image"
                                ControlVisible="True" DisenableImageUrl="../image/uipics/export3.gif" ImageUrl="../image/uipics/export.gif"
                                MouseOverImageUrl="../image/uipics/export2.gif" Size="25" />
                        </NavControls>
                    </InfoLight:WebNavigator>
                    &nbsp;
        <asp:Button ID="btnGetADGroup" runat="server" OnClick="btnGetADGroup_Click" Text="GetADGroup" /></td>
            </tr>
            <tr height="50%">
                <td align="left" colspan="1" rowspan="1" dir="ltr" valign="top" style="width: 1288px">
        <InfoLight:WebGridView ID="wgvGroup" runat="server" AddIndentityField="False" AutoEmptyDataText="False" BackColor="White"
            BorderColor="#E7E7FF" BorderStyle="None" BorderWidth="1px" CellPadding="3" DataHasChanged="False"
            DataSourceID="wdsGroup" EditReturn="True" EditURL="../InnerPages/WebGControlAdd.aspx" ExpressionFieldCount="0"
            GetServerText="True" GridInserting="False" GridLines="Horizontal" HeaderStyleWrap="True"
            InnerNavigatorLinkLabel="" InnerNavigatorShowStyle="Image"
            OpenEditUrlInServerMode="True" SkipInsert="False" TotalActive="False"
            Width="404px" OnSelectedIndexChanged="wgvGroup_SelectedIndexChanged" baseCount="0" ButtonTooltip="" MultiCheckColumn="" MultiCheckColumnIndexToTranslate="-1" NeedExecuteAdd="True" ShowDialog="False" TotalCaption="" ValidateFailed="False" WizardDesignMode="False" OnRowDeleted="wgvGroup_RowDeleted" OpenEditLeft="250" OpenEditTop="250" OpenEditWidth="550">
            <FooterStyle BackColor="#B5C7DE" ForeColor="#4A3C8C" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#F7F7F7" />
            <Columns>
                <asp:CommandField ButtonType="Image" CancelImageUrl="~/Image/UIPics/Cancel.gif" DeleteImageUrl="~/Image/UIPics/Delete.gif"
                    EditImageUrl="~/Image/UIPics/Edit.gif" SelectImageUrl="~/Image/UIPics/Select.gif"
                    ShowDeleteButton="True" ShowEditButton="True" ShowSelectButton="True" UpdateImageUrl="~/Image/UIPics/OK.gif" />
                <asp:BoundField DataField="GROUPID" HeaderText="GROUPID" SortExpression="GROUPID" />
                <asp:BoundField DataField="GROUPNAME" HeaderText="GROUPNAME" SortExpression="GROUPNAME" />
                <asp:BoundField DataField="DESCRIPTION" HeaderText="DESCRIPTION" SortExpression="DESCRIPTION" />
                <asp:BoundField DataField="MSAD" HeaderText="MSAD" SortExpression="MSAD" />
                <asp:BoundField DataField="ISROLE" HeaderText="ISROLE" SortExpression="ISROLE" />
            </Columns>
            <PagerStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" HorizontalAlign="Right" />
            <AlternatingRowStyle BackColor="#F7F7F7" />
            <RowStyle BackColor="#E7E7FF" ForeColor="#4A3C8C" />
            <SelectedRowStyle BackColor="#738A9C" Font-Bold="True" ForeColor="#F7F7F7" />
            <PagerSettings Mode="NumericFirstLast" />
        </InfoLight:WebGridView>
                </td>
            </tr>
        </table>
    </form>
</body>
</html>
